
<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0"><meta name="format-detection" content="telephone=no">
    <title>订单列表</title>
    <link rel="stylesheet" href="${root}assets/agile/css/agile.layout.css">
<link rel="stylesheet" href="${root}assets/third/seedsui/plugin/seedsui/seedsui.min.css">
</head>

<body>
<div id="section_container">
    <section data-role="section" id="page_index" class="active">
        <header>
            <div class="titlebar">
            	<a href="menu"><i class="icon icon-arrowleft"></i></a>
                <h1>订单列表</h1>
            </div>
        </header>
        <article id="main_article" data-role="article" class="active">
				<ul class="slidebar">
            <li class="tab ${decode(p.status,'0','','1','','active')} " onclick="location.href='orders'">
                <label class="tab-label">全部</label>
            </li>
            <li class="tab ${decode(p.status,'0','active','1','','')} " onclick="location.href='orders?status=0'">
                <label class="tab-label">未支付</label>
            </li>
            <li class="tab ${decode(p.status,'0','','1','active','')} " onclick="location.href='orders?status=1'">
                <label class="tab-label">已支付</label>
            </li>
        </ul>
                <ul class="list between border-content">
                	<!--:for(o in obj){  -->
                    <li>
                        <div class="justify">
                                <img style="width: 80px;height: 50px;" src="${www}${o.img!}" />
                        </div>
                        <div class="justify-content">
                            <small class="nowrap">${o.title!'昵称'}</small>
                            <small class="bottom right">价格:<b style="color:red;">${o.price!0}</b></small>
                            <small class="nowrap">${decode(o.status,1,'<b style="color: green;">已支付</b>','<b style="color: red;">未支付</b>')}
                            &nbsp;&nbsp;${o.add_time,"yyyy-MM-dd HH:mm:ss"}
                            </small>
                            <small class="nowrap" style="margin-top:0px;">${o.user.nickname!'姓名'}&nbsp;&nbsp;电话:${o.user.phone!'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'}
                            </small>
                        </div>
                    </li>
                    <!--:}  -->
                </ul>
            
        </article>
    </section>
</div>
<!--- third -->
	<script src="${root}assets/third/jquery/jquery-2.1.3.min.js"></script>
	<script src="${root}assets/third/jquery/jquery.mobile.custom.min.js"></script>
	<!---  agile -->
	<script type="text/javascript" src="${root}assets/agile/js/agile.js"></script>
<script type="text/javascript" src="${root}assets/bridge/exmobi.js"></script>
<script type="text/javascript" src="${root}assets/bridge/agile.exmobi.js"></script>			
	<!-- app -->
	<script type="text/javascript" src="${root}assets/app/js/app.seedsui.js"></script>
    
    
    
    
    
    
    
</body>
</html>
